import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false
// cnpm i vant -S
// cnpm i babel-plugin-import -D
import { Tabbar, TabbarItem, Tab, Tabs, Swipe, SwipeItem, List, Slider, Popup, ShareSheet, Cell, Lazyload, Toast,RadioGroup, Radio  } from 'vant';

Vue.use(Tabbar).use(TabbarItem).use(Tab).use(Tabs).use(Swipe).use(SwipeItem).use(List).use(Slider).use(Popup).use(ShareSheet).use(Cell).use(Lazyload).use(Toast).use(Radio).use(RadioGroup)


// 初始化样式
import "./assets/css/base.css"
// 引入字体图标
import "./assets/font/iconfont.css"

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
